package com.zm.demo.core.jvm;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2020/2/29.
 */
public class GcPrint {


    public static void main(String[]args){
        for (int i = 1; ; i++) {
            System.out.println("第"+ i +"次分配内存");
            Integer []ary = new Integer[1024*1024*5];
        }
    }
}
